package com.chen.hotel.enums;

import lombok.Getter;

@Getter
public enum OrderStatusEnum {

    NEW(0, "新创建的订单"),
    FINISH(1, "已完结的订单"),
    CANCEL(2, "取消的订单")
    ;

    private Integer code;
    private String message;

    OrderStatusEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
